package com.zhu.blog.dao;


import com.zhu.blog.model.QQInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface QQRepository extends JpaRepository<QQInfo,Long> {

    @Query("select q from QQInfo q where q.openid = ?1")
    QQInfo findQQUser(String openid);
}
